//
//  CreateQuanziView.h
//  YiqiMobile
//
//  Created by henry on 13-4-30.
//  Copyright (c) 2013年 henry. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "URLRequest.h"

@protocol CreateTongzhiViewDelegate<NSObject>
@optional
-(void) success:(int)flag;
@end

@interface CreateTongzhiView : UIView<UITextFieldDelegate,IRequest>

@property(nonatomic,weak) id<CreateTongzhiViewDelegate> delegate;
@property(nonatomic,strong)UITextField *subject;
@property(nonatomic,strong)UITextField *content;
@property(nonatomic,assign) NSInteger type;
@property (strong, nonatomic) URLRequest *request;

-(void) showData;
@end
